import routeData from './RouteData';
import { createBrowserRouter,RouterProvider } from 'react-router-dom';
export default function MyRouter(){
    const data=createBrowserRouter(routeData);
    return <RouterProvider router={data}/>
}